# -*- conding:UTF-8 -*-

'''
@ Project: P8 hw register_login
@ File: celery_main.py
@ Author: 罗婷
@ Date：2022/6/16 18:44

'''
from celery import Celery

app = Celery('myWorker', broker='redis://127.0.0.1:6379/5',
             backend='redis://127.0.0.1:6379/6')

app.autodiscover_tasks(['common.celery.tasks'])